#include "StarAndMap.h"
#include <QIcon>

civ::civ(int t)
{
    own = new star * [t];
    observed = new star * [t];
    for (int i = 0; i < t; i += 1)
    {
        own[i] = NULL;
        observed[i] = NULL;
    }    
}

civ::civ()
{

}

void civ::icon_set()
{
    if(num==0)
    {
        I=new QIcon(":/new/images/images/stars/star1.png");
    }
    if(num==1)
    {
        I=new QIcon(":/new/images/images/stars/star2.png");
    }
    if(num==2)
    {
        I=new QIcon(":/new/images/images/stars/star3.png");
    }
}
